package com.xiaoer.studyenglishdemo.bean;

import java.io.Serializable;

public class WordBean implements Serializable ,Comparable<WordBean>{

    @Override
    public int compareTo(WordBean bean) {
        return Integer.compare(this.id, bean.id);
    }

    public enum WORD_LEVEL {
        POST_GRADUATE, COLLEGE_STUDENT, CET6, CET4, OTHER_LEVEL
    }

    public enum STUDY_TYPE {
        WORDS, WORD_ROOT, PHRASES, LINGUISTIC_CONTEXT, Example, NULL_TYPE, OTHER_TYPE
    }

    private int id;

    private String imgUrl;  // 图片地址(网址)
    private String introduce;   // 简介
    private String means;   // 释义
    private String shortSentence;   // 短语
    private String Sentence1;   // 例句1
    private String Sentence2;   // 例句2
    private String Sentence3;   // 例句3

    private WORD_LEVEL wordLevel;   // 研究生、本科生、CET6、CET4
    private STUDY_TYPE studyType;
    private int imgLocal;   // 本地图片

    public WordBean() {
    }

    public WordBean(int id, String imgUrl, String introduce, String means, String shortSentence, String sentence1, String sentence2, String sentence3, WORD_LEVEL wordLevel, STUDY_TYPE studyType,int imgLocal) {
        this.id = id;
        this.imgUrl = imgUrl;
        this.introduce = introduce;
        this.means = means;
        this.shortSentence = shortSentence;
        this.Sentence1 = sentence1;
        this.Sentence2 = sentence2;
        this.Sentence3 = sentence3;
        this.wordLevel = wordLevel;
        this.studyType = studyType;
        this.imgLocal = imgLocal;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getImgUrl() {
        return imgUrl;
    }

    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl;
    }

    public String getIntroduce() {
        return introduce;
    }

    public void setIntroduce(String introduce) {
        this.introduce = introduce;
    }

    public String getMeans() {
        return means;
    }

    public void setMeans(String means) {
        this.means = means;
    }

    public String getShortSentence() {
        return shortSentence;
    }

    public void setShortSentence(String shortSentence) {
        this.shortSentence = shortSentence;
    }

    public String getSentence1() {
        return Sentence1;
    }

    public void setSentence1(String sentence1) {
        Sentence1 = sentence1;
    }

    public String getSentence2() {
        return Sentence2;
    }

    public void setSentence2(String sentence2) {
        Sentence2 = sentence2;
    }

    public String getSentence3() {
        return Sentence3;
    }

    public void setSentence3(String sentence3) {
        Sentence3 = sentence3;
    }

    public WORD_LEVEL getWordLevel() {
        return wordLevel;
    }

    public void setWordLevel(WORD_LEVEL wordLevel) {
        this.wordLevel = wordLevel;
    }

    public STUDY_TYPE getStudyType() {
        return studyType;
    }

    public void setStudyType(STUDY_TYPE studyType) {
        this.studyType = studyType;
    }

    public int getImgLocal() {
        return imgLocal;
    }

    public void setImgLocal(int imgLocal) {
        this.imgLocal = imgLocal;
    }
}
